| GUI Help > Special > addToolbarButton | ||||||||||||||
|
addToolbarButton |
||||||||||||||
| addToolbarButton [handle gadget, int index, bool isToggleButton] | [handle gadget, str fileName, bool isToggleButton], [str tooltip] | ||||||||||||||
|
Description: Adds a button to a toolbar gadget. You can either add a standard button by specifying its index, or you can load the icon for the button from a file. You may optionally specify tooltip text which appears when the user holds their mouse over the button. isToggleButton determines whether or not the button will toggle a normal / "pushed in" state when clicked. |
||||||||||||||
|
Return Value: |
||||||||||||||
| Parameters: | ||||||||||||||
|
||||||||||||||
| Remarks:
|
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |